Packetery\Module\Checkout C

Total Complexity 121
Dependencies 14
Dependents 7
Total lines 836
Lines of code 450
Logical lines of code 251
Comment lines 150
Methods 25
Properties 8

Methods 25

Method Rating Maintainability Complexity Lines of code
validateCheckoutData()
B
39 19 63
updateOrderMeta()
B
40 17 59
updateOrderEntityFromPropsToSave()
A
49 10 32
calculateFees()
A
49 8 30
getShippingRates()
S
50 6 27
createSettings()
S
45 5 42
renderWidgetButtonAfterShippingRate()
S
52 6 25
getRateCost()
S
57 6 16
getCODSurcharge()
S
60 6 13
updateShippingAddressProperty()
S
60 5 15
updateShippingRates()
S
59 5 14
register_hooks()
S
54 3 21
renderWidgetButtonTableRow()
S
57 3 18
getWidgetCarriersParam()
S
70 3 6
getCarrierId()
S
63 3 10
isPickupPointOrder()
S
72 2 5
getCustomerCountry()
S
69 2 7
getCartWeightKg()
S
67 2 8
isHomeDeliveryOrder()
S
72 2 5
getChosenMethod()
S
66 2 8
applyFilterWoocsExchangeValue()
S
70 2 6
renderHiddenInputFields()
S
68 1 7
getCartPrice()
S
80 1 3
isPacketeryOrder()
S
78 1 3
__construct()
S
69 1 7